import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.*;
/**
 * Write a description of class gameover here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class gameover extends Actor
{
     
    private static final String scoreLabel = "Game Over";
    private GreenfootImage box;
    
    public gameover() {
        box = new GreenfootImage (250, 55);
        
        box.setColor(new Color (0f,0.5f,0f,0.5f));
        box.fillRect (0,0, 420, 60);
        GreenfootImage img = new GreenfootImage (box);
        img.setColor (Color.WHITE);
        img.setFont(new Font("SANS_SERIF", 0, 35));
        img.drawString(scoreLabel, 5, 30);
        setImage (img);
    }
}
